class Man {
  name: String;
  constructor(name:String){
    this.name=name;
  }
  call() {
    alert("嘿嘿")
  }
}
const m = new Man('as');
console.log("Man", m)